const express = require('express')
const router = express.Router()
const testApi = require('../class/logic/TestApi')
 
router.get('/', function (req, res) {
  testApi(req, function (result) {
	  res.send(result.data);
    res.end();
  });
})
 
module.exports = router